/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rbh.risk.service;

import com.rbh.risk.entity.MainEvent;
import com.rbh.risk.entity.SubEvent;
import java.util.List;

public interface SubEventService {

    public void insert(SubEvent subEvent);

    public void update(SubEvent subEvent);

    public void delete(SubEvent subEvent);

    public SubEvent getById(Integer subEventId);

    public List<SubEvent> getAll();

    public List<SubEvent> getByWords(String words);

    public List<SubEvent> getByMainEvent(MainEvent mainEvent);
}